package com.study.mapper;

import com.study.pojo.Video;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface VideoMapper {

    //根据ID查询视频
    @Select("select * from video where id = #{videoId}")
    Video findById(int videoId);

}
